var express = require('express');
var router = express.Router();
var dataCtrl = require('../controllers/upload-controllers');



router.post('/imgfile',dataCtrl.upload);
router.delete('/data:id',dataCtrl.remove);
router.post('/list',dataCtrl.list);
router.post('/delete',dataCtrl.removefile)
// router.post('/login',dataCtrl.login);//登录专属路由

module.exports = router;
